<div th:fragment="frag(btn)">
	<button type="button" class="btn" th:attrappend="class=${' ' + (btn.icon ?: 'fa fa-folder-open') + ' ' + (btn.data.get('color') ?: 'btn-primary')}"
		th:data-app-buttontype="${btn.type}" th:data-app-buttonselecttype="${btn.data.get('selectType')}" 
		th:text="${' ' + btn.name}" th:data-app-requestjson="${btn.requestData}" th:data-app-tabtype="${btn.data.get('tabType')}"
		th:data-app-taburl="${btn.data.get('tabUrl')}" th:data-app-tabview="${btn.data.get('tabView')}" 
		th:data-app-tabapp="${btn.data.get('tabApp')}" th:data-app-tabappdata="${btn.data.get('tabAppData')}" th:data-app-tabviewsubmit="${btn.data.get('tabViewSubmit')}"/>
</div>